package generic;

public class TestTransParam {

    public TestTransParam() {
        
    }
    
    public void testTransferBoolean() {
        Boolean bVal = true;
        setVar(bVal);
        System.out.println("The result valule:" + bVal);
    }
    
    public void setVar(Boolean bVal) {
        bVal = false;
    }
    public void testTransferLong() {
        Long value = 1L;
        setVar(value);
        System.out.println("The result valule:" + value);
    }
    
    public void setVar(Long value) {
        value = 2L;
    }
    /**
     * 
     * @param args
     *
     * @author grind
     * @date Aug 22, 2013 3:15:18 PM
     */
    public static void main(String[] args){
        //new TestTransParam().testTransferLong();
        byte value = (byte)0xFA;
        final int data_len = (int)value&0xff;
        System.out.println("to Int:" + data_len);
    }

}
